convert-to-dabs calls tgz artifact, drop aicode mutator entirely - #6532
Merged
Conversation
… drop the aicode mutator A relative-directory code_source_path is no longer auto-packaged at bundle deploy. convert-to-dabs now emits an explicit tgz artifact for every code_source (previously only for a git/include_paths snapshot), so packaging is expressed in the generated databricks.yml rather than synthesized at deploy time. - convert-to-dabs: codeArtifactFor emits the tgz artifact for the plain whole-dir case too (path = the dir's parent, include = its basename); git / include_paths continue to map onto the artifact's git / include. - Remove bundle/config/mutator/aicode (PackageCodeSource + Validate) and its two initialize-phase wirings. - Drop the local-dir packaging acceptance tests; regenerate the convert-to-dabs golden to show the emitted artifact block. Reverts the user-facing local-dir shorthand from #6110 / #6494. Co-authored-by: Isaac <no-reply@databricks.com>
Collaborator
Integration test reportCommit: b045b7e
Top 6 slowest tests (at least 2 minutes):
|
ben-hansen-db
approved these changes
Sep 4, 2026
ben-hansen-db
left a comment
Contributor
There was a problem hiding this comment.
LGTM as a git revert
vinchenzo-db
enabled auto-merge
September 5, 2026 04:29
vinchenzo-db
disabled auto-merge
September 5, 2026 04:31
pietern
approved these changes
Sep 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Basically, remove the aicode mutator entirely. That way
convert-to-dabsjust calls theartifactsblock. Clean up the code.Reverts the user-facing local-dir shorthand from #6110 / #6494.
Changes
Why
We should simplify the UJ to limit ways to upload code.
Tests
Setup
Run convert-to-dabs:
Validate and deploy:
Run: